package com.goldsprite.spinelearn.examples.gfsm;

import com.goldsprite.gdxcore.gfsm.StateMachine;

public class SpineStateMachine extends StateMachine {
	private final SpineEntity entity;
	private final SpineFsmInput input;

	public SpineStateMachine(SpineEntity entity, SpineFsmInput input) {
		super(entity, input); // 调用父类构造
		this.entity = entity;
		this.input = input;
	}

	// 提供类型安全的方法
	public SpineEntity getEntity() { return entity; }
	public SpineFsmInput getInput() { return input; }
}
